﻿namespace RBAC_Class.Read.API.Dto
{
    public class UserRoleDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 角色ID（兼容单角色老数据）
        /// </summary>
        public int RoleID { get; set; }
        /// <summary>
        /// 角色名称（兼容单角色老数据）
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 角色ID列表
        /// </summary>
        public List<int> RoleIDs { get; set; } = new List<int>();
        /// <summary>
        /// 角色名称列表
        /// </summary>
        public List<string> RoleNames { get; set; } = new List<string>();
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
